<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <!--  
        1. 运算符优先级
            完整优先级:参考word文档
            常见运算符:
                ()
                [] new
                ++ -- 
                !
                * / % 
                + - 
                > < >= <=
                >> << >>>
                & |
                && ||
                ?:
                = += -=
    -->
    <script>
        console.log( 2 + 5 * 4);
        var a = 10;
        var b = 5;
        console.log( a++ + b);
        var a = 10;
        var b = 5;
        b *= 2 <= ++a ? a++ : b--;
        console.log(a,b)
    </script>
</body>
</html>